<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Pragma" CONTENT="no-cache">
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta name="renderer" content="webkit">

		<%include("/common/include.html"){}%>
	</head>
	<script type="text/javascript">
	
	var submitForm = function($dialog, $grid, $tree, $pjq) {
		var $form = $("#form_1");
		$.post('${cxt!}/scallVisit/saveVisitCustomer', sy.serializeObject($form),function(result) {
			if(result.msg==200){
				$grid.datagrid('reload');
				$.slideMsg("添加成功！", $pjq);
				$dialog.dialog('destroy');
			}else{
			 $.slideMsg("保存失败", parent.$);
			}
		});
	};
	</script>
	<body>
		<form id="form_1" method="post">
			<div style="width:790px;margin:auto;border:1px solid #ffffff">
				<input name="scallVisit.customerids" hidden="hidden" value="${customer.ids!}" />
				<div  style="width:100%;margin-top:30px;"  >
					回访时间：
					<input name="scallVisit.visitDate"  value='${date()}' class="easyui-datebox theme-textbox-radius"  style="width:90%";height: 32px;">
				</div>
				<div style="width:100%;margin-top:30px;" >
					回访内容：
					<input name="scallVisit.subject" class="easyui-textbox theme-textbox-radius" style="width:90%";height: 32px;">
				</div>
				<div style="width:100%;margin-top:30px;" >
					满意程度：  
					<select class="easyui-combobox theme-textbox-radius" name="scallVisit.isSatisfaction" style="width:90%";height: 32px;">
						<option value="1">满意</option>
						<option value="2">一般</option>
						<option value="3">差</option>
					</select>
				</div>
				<div style="width:100%;margin-top:30px;" >
					顾客建议：
					<input class="easyui-textbox theme-textbox-radius" data-options="multiline:true" style="width:90%;height:100px">
				</div>				
			</div>
		</form>
</body>
</html>